package me.zhengjie.sqlservice.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import me.zhengjie.mapper.WcsOutboundMissionHistoryMapper;
import me.zhengjie.pojo.entity.WcsOutboundMissionHistory;
import me.zhengjie.sqlservice.WcsOutboundMissionHistoryService;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class WcsOutboundMissionHistoryServiceImpl extends ServiceImpl<WcsOutboundMissionHistoryMapper, WcsOutboundMissionHistory> implements WcsOutboundMissionHistoryService {

    private final WcsOutboundMissionHistoryMapper wcsOutboundMissionHistoryMapper;

    @Override
    public boolean insertOutboundHistory(WcsOutboundMissionHistory wcsOutboundMissionHistory) {
        return wcsOutboundMissionHistoryMapper.insert(wcsOutboundMissionHistory) >0;
    }
}
